package com.xiaobo.framework.endpoint.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author: <a href="get_xiaobo@163.com">Josh_Xu</a>
 * @description:
 * @create: 2020-08-19 16:11
 **/
@FeignClient(name = "xiaobo-base-center",fallback = FallBack.class)
public interface OpenFegin {

    @GetMapping(value = "/account/v1/get-public-key")
    ResponseEntity<?> publicKey();

}
